package com.a2v2.online.store.database.dao.contract;

import com.a2v2.online.store.database.entity.NotificationEvent;
import com.a2v2.online.store.service.dto.NotificationDTO;

public interface INotificationEventDAO extends GenericDAO<NotificationEvent, Long> {
	
	/**
	 * This method is going to search for the templates in the notification_template_detail table. For this it requires 
	 * SERVICE_NAME, EVENT, and PI_CODE. Once these data will be provided then it will look into the NOTIFICATION_ACTION
	 * table and get the TEMPLATE_DETAIL_ID.  
	 */
	public NotificationEvent findNotificationTemplate(NotificationDTO notificationDTO);

}
